package com.safety.web.service.impl;

import com.safety.web.dao.HomeHealthNewsDao;
import com.safety.web.entity.HomeHealthNews;
import com.safety.web.service.HomeHealthNewsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by pinky on 2016/12/9.
 *
 */
@Service("HomeHealthNews")
public class HomeHealthNewsServiceImpl implements HomeHealthNewsService {
    @Resource
    private HomeHealthNewsDao homeHealthNewsDao;

    @Override
    public HomeHealthNews selectHealthNews(int id) {
        return homeHealthNewsDao.selectHealthNews(id);
    }
}
